


//
//  KindSubclassFilterCell.m
//  GoShops
//
//  Created by zcj on 15-11-23.
//  Copyright (c) 2015年 郑朝军. All rights reserved.
//

#import "KindSubclassFilterCell.h"
#import "MerchantCataGroupModel.h"
#import "Grouble.h"

@implementation KindSubclassFilterCell
+(instancetype)KindSubclassFilterCell:(UITableView *)tableView indexPath:(NSIndexPath*)indexPath model:(MerchantCataGroupModel *)model
{
    static NSString *kindSubclassFilter = @"JFKindSubclassFilterCell";
    KindSubclassFilterCell *cell = [tableView dequeueReusableCellWithIdentifier:kindSubclassFilter];
    if (cell == nil) {
        cell = [[KindSubclassFilterCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:kindSubclassFilter];
    }
    cell.textLabel.text = [model.list [indexPath.row] objectForKey:@"name"];
    cell.detailTextLabel.text = [NSString stringWithFormat:@"%@", [model.list [indexPath.row] objectForKey:@"count"]];
    
    cell.textLabel.font = [UIFont systemFontOfSize:13];
    cell.detailTextLabel.font = [UIFont systemFontOfSize:11];
    cell.backgroundColor = ZCJColor(242, 242, 242);
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    return cell;

}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
